refactor ansible code in to ansible-2.0 folder, and created space for ansible-2.10
This commit is contained in:
10
ansible-2.0/scripts/ansible.sh
Normal file
10
ansible-2.0/scripts/ansible.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --rm -i\
|
||||
-v ~/.ssh:/home/user/.ssh \
|
||||
-u 1000 \
|
||||
-v ${PWD}:/opt/project \
|
||||
-w /opt/project \
|
||||
xaicorp/ansible:2.7 ${PLAYBOOK}.yml -i inventory.conf -u ansible
|
||||
|
||||
|
||||
Reference in New Issue
Block a user