install ansible step
This commit is contained in:
parent
1eaf4073ad
commit
3188c2cbee
6
.github/workflows/pipeline.yml
vendored
6
.github/workflows/pipeline.yml
vendored
@ -86,6 +86,12 @@ jobs:
|
||||
echo "[app]" > hosts.ini
|
||||
echo "$APP_HOST" >> hosts.ini
|
||||
|
||||
- name: Install Ansible
|
||||
run: |
|
||||
sudo apt-add-repository ppa:ansible/ansible -y
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install ansible -y
|
||||
|
||||
- name: Run Ansible Playbook to Configure Servers
|
||||
run: |
|
||||
export ANSIBLE_HOST_KEY_CHECKING=False # Disable host key checking
|
||||
|
Loading…
Reference in New Issue
Block a user