Commit 2b4c122f authored by nanahira's avatar nanahira

fix ansible base

parent 8a298fb3
--- ---
- hosts: worker - hosts: worker
remote_user: nanahira remote_user: nanahira
roles: #roles:
- init # - init
tasks: tasks:
- name: ssh - name: ssh
copy: copy:
...@@ -21,6 +21,11 @@ ...@@ -21,6 +21,11 @@
autoremove: true autoremove: true
purge: true purge: true
state: absent state: absent
- name: install ansible base
become: true
pip:
name: ansible-base
state: latest
- name: install pip packages - name: install pip packages
become: true become: true
pip: pip:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment