ansible/roles/container/tasks/main.yml

13 lines
466 B
YAML

- name: Write pacman.conf
copy: src=pacman.conf dest=/etc/pacman.conf mode=0644
- name: update cache htop
pacman: update_cache=yes
- name: install htop
pacman: name=htop state=present
- name: Disable getty
file: src=/dev/null dest=/etc/systemd/system/getty.target state=link
- name: Disable logind
file: src=/dev/null dest=/etc/systemd/system/systemd-logind.service state=link
- name: Disable logind
service: name=systemd-logind state=stopped enabled=no