Fix up some weird issues
This commit is contained in:
parent
644097f290
commit
2650014ec1
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
- name: regather local facts
|
- name: regather local facts
|
||||||
setup:
|
setup:
|
||||||
gather_subset: "!all,!any,local"
|
gather_subset: "local"
|
||||||
when: installed_facts.changed
|
when: installed_facts.changed
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
|
@ -84,6 +84,13 @@
|
||||||
- { src: "etc/apt/sources.list.{{ ansible_machine }}.j2", dest: "/etc/apt/sources.list" }
|
- { src: "etc/apt/sources.list.{{ ansible_machine }}.j2", dest: "/etc/apt/sources.list" }
|
||||||
tags: apt
|
tags: apt
|
||||||
|
|
||||||
|
- name: add key for bonilan repo
|
||||||
|
apt_key:
|
||||||
|
url: "https://repo.bonifacelabs.net/debian/bonifacelabs_signing_key.pub"
|
||||||
|
id: "83D07192314835D4"
|
||||||
|
state: present
|
||||||
|
tags: apt
|
||||||
|
|
||||||
#
|
#
|
||||||
# Safe apt upgrades (on first install only)
|
# Safe apt upgrades (on first install only)
|
||||||
#
|
#
|
||||||
|
@ -170,6 +177,9 @@
|
||||||
- less
|
- less
|
||||||
- vim
|
- vim
|
||||||
- git
|
- git
|
||||||
|
- vlan
|
||||||
|
- bridge-utils
|
||||||
|
- ifenslave
|
||||||
- nmap
|
- nmap
|
||||||
- netcat-openbsd
|
- netcat-openbsd
|
||||||
- htop
|
- htop
|
||||||
|
@ -586,8 +596,10 @@
|
||||||
- name: add authorized keys
|
- name: add authorized keys
|
||||||
authorized_key:
|
authorized_key:
|
||||||
user: "deploy"
|
user: "deploy"
|
||||||
key: "{{ item.key }}"
|
key: "{{ item.1 }}"
|
||||||
with_items: "{{ admin_users }}"
|
with_subelements:
|
||||||
|
- "{{ admin_users }}"
|
||||||
|
- keys
|
||||||
tags: users
|
tags: users
|
||||||
|
|
||||||
# admin_users
|
# admin_users
|
||||||
|
@ -627,9 +639,11 @@
|
||||||
|
|
||||||
- name: add authorized keys
|
- name: add authorized keys
|
||||||
authorized_key:
|
authorized_key:
|
||||||
user: "{{ item.name }}"
|
user: "{{ item.0.name }}"
|
||||||
key: "{{ item.key }}"
|
key: "{{ item.1 }}"
|
||||||
with_items: "{{ admin_users }}"
|
with_subelements:
|
||||||
|
- "{{ admin_users }}"
|
||||||
|
- keys
|
||||||
tags: users
|
tags: users
|
||||||
|
|
||||||
- name: write bashrc to homedir
|
- name: write bashrc to homedir
|
||||||
|
|
|
@ -10,5 +10,5 @@ deb-src http://security.debian.org/ {{ ansible_distribution_release }}/updates m
|
||||||
deb http://debian.mirror.rafal.ca/debian/ {{ ansible_distribution_release }}-updates main contrib
|
deb http://debian.mirror.rafal.ca/debian/ {{ ansible_distribution_release }}-updates main contrib
|
||||||
deb-src http://debian.mirror.rafal.ca/debian/ {{ ansible_distribution_release }}-updates main contrib
|
deb-src http://debian.mirror.rafal.ca/debian/ {{ ansible_distribution_release }}-updates main contrib
|
||||||
|
|
||||||
deb https://repo.bonifacelabs.net/debian/ {{ ansible_distribution_release }}-updates main
|
deb https://repo.bonifacelabs.net/debian/ {{ ansible_distribution_release }} main
|
||||||
deb-src https://repo.bonifacelabs.net/debian/ {{ ansible_distribution_release }}-updates main
|
deb-src https://repo.bonifacelabs.net/debian/ {{ ansible_distribution_release }} main
|
||||||
|
|
Loading…
Reference in New Issue