modified: Dockerfile new file: docker/ansible.cfg
This commit is contained in:
1 parent
9cda1f31b8
commit
4ffd9efb4f
3 files changed
+7
-3
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
# ---> Ansible
|
||||
*.retry
|
||||
ansible.cfg
|
||||
|
||||
|
||||
+2
-2
@@ -7,11 +7,11 @@ COPY LICENSE /usr/share/ansible/collections/ansible_collections/mylimbo
|
||||
COPY README.md /usr/share/ansible/collections/ansible_collections/mylimbo
|
||||
COPY playbooks /usr/share/ansible/collections/ansible_collections/mylimbo/globals/playbooks
|
||||
COPY roles /usr/share/ansible/collections/ansible_collections/mylimbo/globals/roles
|
||||
|
||||
RUN addgroup ansible
|
||||
RUN adduser -D -h /home/ansible -s /bin/bash -G ansible ansible
|
||||
RUN mkdir -p /workspace
|
||||
RUN chown ansible:ansible /workspace
|
||||
COPY docker/ansible.cfg /workspace
|
||||
RUN chown -r ansible:ansible /workspace
|
||||
USER ansible
|
||||
WORKDIR /workspace
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
[defaults]
|
||||
inventory = ./inventories
|
||||
roles_path = ./roles
|
||||
collections_path=./collections
|
||||
Reference in new issue
Block a user