add playbook import hosts from list
This commit is contained in:
@@ -22,28 +22,22 @@ additional_build_files:
|
|||||||
dest: configs
|
dest: configs
|
||||||
additional_build_steps:
|
additional_build_steps:
|
||||||
prepend_base:
|
prepend_base:
|
||||||
- RUN cp /usr/bin/microdnf /usr/bin/dnf
|
- RUN cp /usr/bin/microdnf /usr/bin/dnf && microdnf install python3 -y && /usr/bin/python3 -m ensurepip && /usr/bin/python3 -m pip install --upgrade pip cmake azure-identity azure-cli-core paramiko && $PYCMD -m pip install -U pip
|
||||||
- RUN microdnf install python3 -y
|
|
||||||
- RUN /usr/bin/python3 -m ensurepip
|
|
||||||
- RUN /usr/bin/python3 -m pip install --upgrade pip
|
|
||||||
# prepend_galaxy: |
|
# prepend_galaxy: |
|
||||||
# RUN pip3 install --upgrade pip setuptools ansible ansible-runner
|
# RUN pip3 install --upgrade pip setuptools ansible ansible-runner
|
||||||
prepend_galaxy:
|
prepend_galaxy:
|
||||||
- RUN /usr/bin/python3 -m pip install --upgrade pip cmake
|
# - RUN /usr/bin/python3 -m pip install --upgrade pip cmake
|
||||||
- COPY _build/configs/ansible.cfg /etc/ansible/ansible.cfg
|
- COPY _build/configs/ansible.cfg /etc/ansible/ansible.cfg
|
||||||
prepend_final: |
|
#prepend_final: |
|
||||||
RUN whoami
|
#-
|
||||||
RUN cat /etc/os-release
|
|
||||||
# RUN pip3 install --upgrade pip setuptools ansible ansible-runner
|
# RUN pip3 install --upgrade pip setuptools ansible ansible-runner
|
||||||
# RUN yum install wget unzip gcc python3-devel -y
|
# RUN yum install wget unzip gcc python3-devel -y
|
||||||
append_base:
|
#append_base:
|
||||||
- RUN $PYCMD -m pip install -U pip
|
# - RUN $PYCMD -m pip install -U pip
|
||||||
append_final:
|
append_final:
|
||||||
# - RUN pip3 install -r /usr/share/ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt
|
# - RUN pip3 install -r /usr/share/ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt
|
||||||
- RUN pip3 install --upgrade azure-identity azure-cli-core paramiko
|
|
||||||
- COPY --from=quay.io/ansible/receptor:devel /usr/bin/receptor /usr/bin/receptor
|
- COPY --from=quay.io/ansible/receptor:devel /usr/bin/receptor /usr/bin/receptor
|
||||||
- RUN mkdir -p /var/run/receptor
|
- RUN mkdir -p /var/run/receptor && git lfs install --system
|
||||||
- RUN git lfs install --system
|
|
||||||
#- RUN mkdir -p /etc/ansible
|
#- RUN mkdir -p /etc/ansible
|
||||||
#- COPY _build/configs/ansible.cfg /etc/ansible/ansible.cfg
|
#- COPY _build/configs/ansible.cfg /etc/ansible/ansible.cfg
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user