fix 2
This commit is contained in:
parent
7d5eaf33a2
commit
b00ac4c43d
@ -52,20 +52,22 @@
|
||||
cmd: ls -l "{{ repo_core_dir }}"
|
||||
register: repo_core_ls
|
||||
|
||||
- debug:
|
||||
- name: Debug repo_core_ls
|
||||
debug:
|
||||
var: repo_core_ls.stdout_lines
|
||||
|
||||
- name: Build the Docker image from core repo
|
||||
community.docker.docker_image:
|
||||
name: ansible-pulumi
|
||||
tag: local
|
||||
source: build
|
||||
build:
|
||||
path: "{{ repo_core_dir }}"
|
||||
args:
|
||||
branch: fix_packages_dependencies
|
||||
branch: main
|
||||
nocache: true
|
||||
|
||||
- name: Run the admin container (playbook not yet executed)
|
||||
- name: Run the admin container
|
||||
community.docker.docker_container:
|
||||
name: admin-ansible-run
|
||||
image: ansible-pulumi:local
|
||||
@ -74,5 +76,5 @@
|
||||
interactive: true
|
||||
auto_remove: true
|
||||
volumes:
|
||||
- "{{ ansible_env_dir | realpath }}:/home/cloud/ansible_env_staging"
|
||||
- "{{ repo_env_dir | realpath }}:/home/cloud/ansible_env_staging"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user