This action is based on ubuntu:bionic
image.
You can execute all Ansible
related actions i.e, ansible
or ansible-playbook
.
You can also execute standard Linux
commands as base Docker
image is ubuntu
.
Required Command to execute. Default "ansible-playbook"
.
uses: actions/ansible-cli-action@latest
with:
# Basic AWS usage
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
<!-- -v $(pwd):/data \ -->
cytopia/ansible:latest-aws ansible-playbook playbook.yml