Commit a7f6419e authored by nanahira's avatar nanahira

update

parent 1d4678ea
--- ---
- hosts: init - hosts: tmp
remote_user: nanahira remote_user: nanahira
tasks: tasks:
- name: authorized_key - name: authorized_key
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
become: true become: true
yum: yum:
state: latest state: latest
name: curl,wget,git,vim,sudo,byobu,iftop,iotop,gcc,gcc-c++,make,autoconf,p7zip,p7zip-plugins,tcpdump,rsync,htop,mtr,net-tools,ctags,astyle,traceroute # astyle name: curl,wget,git,vim,sudo,byobu,iftop,iotop,gcc,gcc-c++,make,autoconf,p7zip,p7zip-plugins,tcpdump,rsync,htop,mtr,net-tools,ctags,xclip,traceroute # astyle
when: "ansible_distribution == 'CentOS' and ansible_distribution_major_version|int == 7" when: "ansible_distribution == 'CentOS' and ansible_distribution_major_version|int == 7"
#- name: yum autoremove #- name: yum autoremove
# become: true # become: true
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
become: true become: true
dnf: dnf:
state: latest state: latest
name: curl,wget,git,vim,sudo,byobu,iftop,iotop,gcc,gcc-c++,make,autoconf,p7zip,p7zip-plugins,tcpdump,rsync,htop,mtr,net-tools,ctags,xclip,python-setuptools,python-devel,traceroute # xclip name: curl,wget,git,vim,sudo,byobu,iftop,iotop,gcc,gcc-c++,make,autoconf,p7zip,p7zip-plugins,tcpdump,rsync,htop,mtr,net-tools,ctags,astyle,python-setuptools,python-devel,traceroute # xclip
when: "ansible_distribution == 'CentOS' and ansible_distribution_major_version|int == 8" when: "ansible_distribution == 'CentOS' and ansible_distribution_major_version|int == 8"
- name: dnf autoremove - name: dnf autoremove
become: true become: true
......
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