rezo_basic.yaml.save 1.06 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
# rezo_basic.yaml
# Ce rôle réalise le déploiement classique pour une machine du rézo
# après une installation. Se référer au fichier README.md pour plus de
# précisions.

---
- hosts: '{{ target }}'
  remote_user: root
  tasks:

    - name: Upgrade the machine
      apt:
        update_cache: yes
        upgrade: yes
    - name: Install sudo
      apt:
        name: sudo
    - include_role:
        name: apt-dater
    - name: Install ZSH
      apt:
        name: zsh
    - name: Install vim
      apt:
        name: vim
    - name: Install Molly-Guard
      apt:
        name: molly-guard
    - name: Install Htop
      apt:
        name: htop
    - name: Install Mtr
      apt:
        name: mtr-tiny
    - name: Install Lnav
      apt:
        name: lnav
    - name: Install Nload
      apt:
        name: nload
    - name: Install tmux
      apt:
        name: tmux
    - include_role:
        name: sendmail
    - include_role:
        name: apticron
    - include_role:
        name: motd
    - include_role:
        name: ldap
    - include_role:
        name: snmp