Skip to content
Snippets Groups Projects
Select Git revision
  • 4d5d3a143341ee19694333ca0b25e7dd813a1509
  • tardis default
  • online-lip-2020
  • ss18
  • ws18
  • master protected
  • ws17
  • ss17
  • ws16
  • ss16
  • ws15 protected
  • ss15 protected
  • ws14 protected
  • buildhauer protected
  • ss14 protected
15 results

linuxparty.sh

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    shell.yml 3.26 KiB
    ---
    # file: roles/common/tasks/shell.yml
    
    - name: ensure installation of basic shell commands
      apt:
        name:
          - git
          - vim
          - vim-scripts
          - zsh
        state: present
        install_recommends: false
      tags:
        - packages
        - shell
    
    - name: ensure installaton of some additional software
      apt:
        name:
          - aptitude
          - atop
          - build-essential
          - curl
          - dnsutils
          - ethtool
          - file
          - git-extras
          - htop
          - iotop
          - less
          - lsof
          - man
          - mtr-tiny
          - ncurses-term
          - nmap
          - pv
          - reptyr
          - rsync
          - screen
          - strace
          - sysstat
          - tcpdump
          - tmux
          - tree
          - whois
          - zstd
        state: present
      tags:
        - packages
        - shell
    
    - name: check installed software
      package_facts:
        manager: auto
    
    - name: install emacs-nox iff emacs-gtk is not installed
      apt:
        name: emacs-nox
      when: "'emacs-gtk' not in ansible_facts.packages"
    
    - name: ensure installation of variable additional software
      apt:
        name: "{{ shell_software }}"
        state: present
      tags:
        - packages
        - shell
    
    - name: ensure installation of modern additional software
      apt: