X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=ansible%2Fconfig.yml;h=8f258a0f819046aacd1c5a5068e0b8a50aa1c643;hb=88c20a0b4acfd2c4926ea702f5f9c28e460f27c5;hp=2a7f1a3017964859749245e6d1c143044d3a60c8;hpb=6e0b1ea61a32fb3406d0343411a3fc9787050752;p=config diff --git a/ansible/config.yml b/ansible/config.yml index 2a7f1a3..8f258a0 100644 --- a/ansible/config.yml +++ b/ansible/config.yml @@ -10,7 +10,7 @@ - name: set hostname for current session shell: hostname w530 - # Configure package management. + # Init package management. - name: update package lists apt: update_cache=yes - name: APT - dist-upgrade @@ -50,7 +50,7 @@ with_lines: cat ~/config/ansible/files/apt-mark/man | sed -e 's/ *#.*$//' - name: set /etc/localtime file: state=link force=yes src=/usr/share/zoneinfo/Europe/Berlin dest=/etc/localtime - - name: ensure various useful tools are installed: sudo, git, vim, less, openssh, alsamixer + - name: ensure various useful tools are installed – sudo, git, vim, less, openssh, alsamixer apt: name={{item}} state=present with_lines: cat ~/config/ansible/files/apt-mark/various_useful | sed -e 's/ *#.*$//' - name: ensure boot messages are not cleared on start up @@ -80,6 +80,16 @@ apt: name={{item}} state=present with_lines: cat ~/config/ansible/files/apt-mark/browser_environment | sed -e 's/ *#.*$//' + # Ensure wifi. + - name: ensure browser environment + apt: name={{item}} state=present + with_lines: cat ~/config/ansible/files/apt-mark/wifi | sed -e 's/ *#.*$//' + + # Ensure audio/video consumption necessities. + - name: ensure multimedia tools + apt: name={{item}} state=present + with_lines: cat ~/config/ansible/files/apt-mark/multimedia | sed -e 's/ *#.*$//' + # Remove undesired packages - name: collect desired packages shell: cat files/apt-mark/* | sed -e 's/ *#.*$//' > /tmp/white_list_unsorted && sort /tmp/white_list_unsorted > /tmp/white_list_sorted