fix 2
This commit is contained in:
parent
7d5eaf33a2
commit
b00ac4c43d
@ -52,20 +52,22 @@
|
|||||||
cmd: ls -l "{{ repo_core_dir }}"
|
cmd: ls -l "{{ repo_core_dir }}"
|
||||||
register: repo_core_ls
|
register: repo_core_ls
|
||||||
|
|
||||||
- debug:
|
- name: Debug repo_core_ls
|
||||||
|
debug:
|
||||||
var: repo_core_ls.stdout_lines
|
var: repo_core_ls.stdout_lines
|
||||||
|
|
||||||
- name: Build the Docker image from core repo
|
- name: Build the Docker image from core repo
|
||||||
community.docker.docker_image:
|
community.docker.docker_image:
|
||||||
name: ansible-pulumi
|
name: ansible-pulumi
|
||||||
tag: local
|
tag: local
|
||||||
|
source: build
|
||||||
build:
|
build:
|
||||||
path: "{{ repo_core_dir }}"
|
path: "{{ repo_core_dir }}"
|
||||||
args:
|
args:
|
||||||
branch: fix_packages_dependencies
|
branch: main
|
||||||
nocache: true
|
nocache: true
|
||||||
|
|
||||||
- name: Run the admin container (playbook not yet executed)
|
- name: Run the admin container
|
||||||
community.docker.docker_container:
|
community.docker.docker_container:
|
||||||
name: admin-ansible-run
|
name: admin-ansible-run
|
||||||
image: ansible-pulumi:local
|
image: ansible-pulumi:local
|
||||||
@ -74,5 +76,5 @@
|
|||||||
interactive: true
|
interactive: true
|
||||||
auto_remove: true
|
auto_remove: true
|
||||||
volumes:
|
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