rezo_basic.yaml 1.06 KB
Newer Older
klafyvel's avatar
klafyvel committed
1 2 3 4 5 6
# 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.

---
klafyvel's avatar
klafyvel committed
7
- hosts: gateways
klafyvel's avatar
klafyvel committed
8
  remote_user: root
klafyvel's avatar
klafyvel committed
9 10 11 12
  vars_prompt:
    - name: ldap_password
      prompt: "Enter ldap password"
      private: yes
klafyvel's avatar
klafyvel committed
13 14 15 16 17
  tasks:
    - name: Upgrade the machine
      apt:
        update_cache: yes
        upgrade: yes
18 19 20
    - name: Install sudo
      apt:
        name: sudo
klafyvel's avatar
klafyvel committed
21 22 23 24 25 26 27 28
    - include_role:
        name: apt-dater
    - name: Install ZSH
      apt:
        name: zsh
    - name: Install vim
      apt:
        name: vim
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
    - 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
44 45 46 47
    - include_role:
        name: sendmail
    - include_role:
        name: apticron
klafyvel's avatar
klafyvel committed
48 49
    - include_role:
        name: motd
klafyvel's avatar
klafyvel committed
50 51
    - include_role:
        name: ldap
52