Extensions system!
Because you know. There's stuff that is sensitive, some that is not really sensitive but I can't be bothered separating the credentials from the config, and some stuff that I just don't like to be public.
This commit is contained in:
parent
ff4c77407b
commit
8c289fea17
7 changed files with 33 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
- ".cache/mpd"
|
||||
- ".ssh"
|
||||
- ".local/bin"
|
||||
- ".ansible/collections/ansible_collections/geoffreyfrogeye"
|
||||
|
||||
- name: Install dotfiles repository
|
||||
git:
|
||||
|
@ -16,6 +17,12 @@
|
|||
update: "{{ not has_forge_access }}"
|
||||
notify: install dotfiles
|
||||
|
||||
- name: Register as Ansible collection
|
||||
file:
|
||||
state: link
|
||||
src: "{{ ansible_user_dir }}/.dotfiles/config/automatrop"
|
||||
path: "{{ ansible_user_dir }}/.ansible/collections/ansible_collections/geoffreyfrogeye/automatrop"
|
||||
|
||||
- name: Install python dependencies for scripts
|
||||
pip:
|
||||
requirements: "{{ ansible_user_dir }}/.dotfiles/config/scripts/requirements.txt"
|
||||
|
|
3
config/automatrop/roles/extensions/tasks/main.yml
Normal file
3
config/automatrop/roles/extensions/tasks/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
- include_role:
|
||||
name: "geoffreyfrogeye.{{ item }}automatrop.entry"
|
||||
loop: "{{ extensions }}"
|
|
@ -300,6 +300,15 @@
|
|||
become: yes
|
||||
notify: etc changed
|
||||
|
||||
- name: Empty motd
|
||||
copy:
|
||||
content: ""
|
||||
dest: /etc/motd
|
||||
mode: "u=rw,g=r,o=r"
|
||||
become: yes
|
||||
notify:
|
||||
- etc changed
|
||||
|
||||
# TODO Hibernation, if that's relevant
|
||||
# $ sudo blkid | grep 'TYPE="swap"'
|
||||
# $ sudoedit /etc/default/grub
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue