Commit 4ad0796d authored by nanahira's avatar nanahira

fix

parent 149ea20f
...@@ -53,20 +53,20 @@ ...@@ -53,20 +53,20 @@
state: latest state: latest
name: curl,wget,git,vim,sudo,byobu,iftop,iotop,build-essential,p7zip-full,xclip,astyle,python-setuptools,python-dev,tcpdump,rsync,htop,locales,mtr,dnsutils,net-tools,traceroute name: curl,wget,git,vim,sudo,byobu,iftop,iotop,build-essential,p7zip-full,xclip,astyle,python-setuptools,python-dev,tcpdump,rsync,htop,locales,mtr,dnsutils,net-tools,traceroute
when: "ansible_distribution != 'CentOS'" when: "ansible_distribution != 'CentOS'"
- name: Ubuntu packages - name: Ubuntu & Debian 9 packages
become: true become: true
apt: apt:
update_cache: true update_cache: true
state: latest state: latest
name: ctags name: ctags,p7zip-rar
when: "ansible_distribution == 'Ubuntu'" when: "ansible_distribution == 'Ubuntu' or (ansible_distribution == 'Debian' and ansible_distribution_major_version == 9)"
- name: Debian packages - name: Debian 10 packages
become: true become: true
apt: apt:
update_cache: true update_cache: true
state: latest state: latest
name: universal-ctags,p7zip-rar name: universal-ctags
when: "ansible_distribution == 'Debian'" when: "ansible_distribution == 'Debian' and ansible_distribution_major_version == 10"
- name: yum update - name: yum update
become: true become: true
yum: yum:
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
src: ~/.vim/ src: ~/.vim/
dest: ~/.vim dest: ~/.vim
delete: true delete: true
recursive: true
- name: git user.email - name: git user.email
git_config: git_config:
name: user.email name: user.email
......
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