Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

24 Zeilen
815 B

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