Commit 23138cde authored by nanahira's avatar nanahira

update

parent 232c3b76
......@@ -15,7 +15,27 @@
- name: apt
become: true
apt:
name: ansible,awscli
name: awscli,python,python3,python-pip,python3-pip
state: latest
update_cache: true
- name: remove old ansible
become: true
apt:
name: ansible
autoremove: true
state: absent
- name: upgrade pip
become: true
pip:
name: pip
state: latest
extra_args: -i https://mirrors.aliyun.com/pypi/simple/
- name: install ansible
become: true
pip:
name: ansible
state: latest
extra_args: -i https://mirrors.aliyun.com/pypi/simple/
- name: ansible
synchronize:
src: ~/ansible/
......
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