Compare commits

..

No commits in common. "867f9283e49e742b8cd420bde5ccce4787512c63" and "d6dbd7d30a28601290da6f6ac8d84a7f206ed77e" have entirely different histories.

3 changed files with 5 additions and 22 deletions

View file

@ -10,5 +10,4 @@ x11_keymap: de
users:
- vagrant
sudoers:
- vagrant
ensure_ansible_version: 2.10.3
- vagrant

View file

@ -4,7 +4,6 @@
become: true
hostname:
name: '{{ hostname }}'
use: systemd
when: hostname and update_hostname == True
- name: Firewall
@ -24,20 +23,10 @@
become: true
when: ansible_facts['os_family'] == 'Debian'
- name: Install basic packages (on Archlinux)
pacman:
name: "{{ packages }}"
state: present
#update_cache: yes
vars:
packages:
- python-pip
- htop
- tmux
become: yes
when: ansible_facts['os_family'] == 'Archlinux'
- include: ansible-debian.yml
become: true
- name: Install basic packages (on Debian)
- name: Install basic packages
apt:
name: "{{ packages }}"
state: present
@ -49,7 +38,3 @@
- tmux
become: yes
when: ansible_facts['os_family'] == 'Debian'
- name: Install Ansible
pip:
name: ansible=={{ ensure_ansible_version }}

View file

@ -21,8 +21,7 @@
regexp: '^%wheel'
line: '%wheel ALL=(ALL) NOPASSWD:ALL'
validate: visudo -cf %s
when:
- ansible_facts['os_family'] in ['Debian', 'Archlinux']
when: ansible_facts['os_family'] == 'Debian'
- name: 'Create users with corresponding groups'
user: