You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
665 B

  1. ---
  2. - hosts: all
  3. vars:
  4. packages: [rsync, git, htop]
  5. tasks:
  6. - name: install packages
  7. action: pacman pkg={{ item }} state=installed
  8. with_items: packages
  9. sudo: yes
  10. when: ansible_os_family == "Archlinux"
  11. - name: install script colortable16
  12. get_url: url=https://gist.github.com/10sr/6852317/raw/colortable16.sh dest={{ ansible_env.HOME }}/.local/bin/colortable16.sh mode=0755
  13. - name: install script 256colors
  14. get_url: url=https://gist.github.com/10sr/6852331/raw/256colors2.pl dest={{ ansible_env.HOME }}/.local/bin/256colors2.pl mode=0755
  15. # handlers:
  16. # - name: restart ntpd
  17. # action: service name=ntpd state=restarted