mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
17 lines
564 B
YAML
17 lines
564 B
YAML
- name: Unnstall ansible on host
|
|
shell: rpm -e ansible
|
|
|
|
- name: Install {{appname}}
|
|
include_tasks: tasks/install.yml
|
|
vars:
|
|
app: "ansible"
|
|
|
|
- name: Unnstall ansible on host
|
|
shell: |
|
|
alias ansible='docker exec -it ansible ansible'
|
|
alias ansible-playbook='docker exec -it ansible ansible-playbook'
|
|
echo "alias ansible='docker exec -it ansible ansible'" >> /etc/profile.d/ansible.sh
|
|
echo "alias ansible-playbook='docker exec -it ansible ansible-playbook'" >> /etc/profile.d/ansible.sh
|
|
source /etc/profile.d/ansible.sh
|
|
|