Commit dcc9eeb4 authored by nanahira's avatar nanahira

fix

parent bf9ea9df
...@@ -12,28 +12,17 @@ ...@@ -12,28 +12,17 @@
src: ~/.ssh/id_rsa.pub src: ~/.ssh/id_rsa.pub
dest: ~/.ssh/ dest: ~/.ssh/
mode: 0600 mode: 0600
- name: apt
become: true
apt:
name: awscli,python,python3,python-pip,python3-pip
state: latest
update_cache: true
- name: remove old ansible - name: remove old ansible
become: true become: true
apt: apt:
name: ansible name: ansible,awscli
autoremove: true autoremove: true
purge: true
state: absent state: absent
- name: upgrade pip
become: true
pip:
name: pip
state: latest
extra_args: -i https://mirrors.aliyun.com/pypi/simple/
- name: install ansible - name: install ansible
become: true become: true
pip: pip:
name: ansible name: ansible,awscli
state: latest state: latest
extra_args: -i https://mirrors.aliyun.com/pypi/simple/ extra_args: -i https://mirrors.aliyun.com/pypi/simple/
- name: ansible - name: 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