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.

utilities.yml 808 B

10 vuotta sitten
10 vuotta sitten
10 vuotta sitten
10 vuotta sitten
10 vuotta sitten
10 vuotta sitten
10 vuotta sitten
10 vuotta sitten
10 vuotta sitten
10 vuotta sitten
1234567891011121314151617181920212223
  1. ---
  2. - hosts: all
  3. vars:
  4. packages: [rsync, git, htop, sl]
  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