home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/plomlompom/config
[config]
/
ansible
/
config.yml
diff --git
a/ansible/config.yml
b/ansible/config.yml
index 2a7f1a3017964859749245e6d1c143044d3a60c8..9167ee86e1ba4373d2fc1940deab2c1b7bbf7055 100644
(file)
--- a/
ansible/config.yml
+++ b/
ansible/config.yml
@@
-10,7
+10,7
@@
- name: set hostname for current session
shell: hostname w530
- 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
- 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
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
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,11
@@
apt: name={{item}} state=present
with_lines: cat ~/config/ansible/files/apt-mark/browser_environment | sed -e 's/ *#.*$//'
apt: name={{item}} state=present
with_lines: cat ~/config/ansible/files/apt-mark/browser_environment | 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
# 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