Compare commits
3 Commits
f8ed675315
...
6d9c924764
Author | SHA1 | Date |
---|---|---|
Rasmus Rosengren | 6d9c924764 | 3 years ago |
Rasmus Rosengren | bdef040c31 | 3 years ago |
Rasmus Rosengren | cbddc81277 | 3 years ago |
@ -0,0 +1,3 @@ |
|||||||
|
--- |
||||||
|
skip_list: |
||||||
|
- yaml |
@ -0,0 +1,21 @@ |
|||||||
|
--- |
||||||
|
kind: pipeline |
||||||
|
type: docker |
||||||
|
name: Lint |
||||||
|
|
||||||
|
steps: |
||||||
|
- name: yamllint |
||||||
|
image: cytopia/yamllint |
||||||
|
commands: |
||||||
|
- yamllint . |
||||||
|
|
||||||
|
- name: ansible-playbook syntax check |
||||||
|
image: cytopia/ansible |
||||||
|
commands: |
||||||
|
- ansible-galaxy install -r requirements.yml |
||||||
|
- ansible-playbook main.yml --syntax-check |
||||||
|
|
||||||
|
- name: ansible-lint |
||||||
|
image: cytopia/ansible-lint |
||||||
|
commands: |
||||||
|
- ansible-lint main.yml |
@ -1,13 +0,0 @@ |
|||||||
--- |
|
||||||
- name: Install system. |
|
||||||
hosts: all |
|
||||||
|
|
||||||
roles: |
|
||||||
- passwordless_connection |
|
||||||
- prep |
|
||||||
- disksetup |
|
||||||
- configure |
|
||||||
|
|
||||||
tasks: |
|
||||||
- name: Reboot system |
|
||||||
reboot: |
|
@ -1,4 +1,17 @@ |
|||||||
--- |
--- |
||||||
|
- name: Install system. |
||||||
|
hosts: all |
||||||
|
|
||||||
|
roles: |
||||||
|
- passwordless_connection |
||||||
|
- prep |
||||||
|
- disksetup |
||||||
|
- configure |
||||||
|
|
||||||
|
tasks: |
||||||
|
- name: Reboot system |
||||||
|
reboot: |
||||||
|
|
||||||
- name: Configure system. |
- name: Configure system. |
||||||
hosts: all |
hosts: all |
||||||
|
|
@ -0,0 +1,2 @@ |
|||||||
|
--- |
||||||
|
- src: kewlfft.aur |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Install pulse audio packages. |
- name: Install pulse audio packages. |
||||||
become: true |
become: true |
||||||
become_user: "{{ user_name }}" |
become_user: "{{ user_name }}" |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Install bluetooth packages. |
- name: Install bluetooth packages. |
||||||
become: true |
become: true |
||||||
become_user: "{{ user_name }}" |
become_user: "{{ user_name }}" |
@ -0,0 +1,13 @@ |
|||||||
|
[connection] |
||||||
|
id=static |
||||||
|
uuid=b47e7a95-b345-3725-ac60-1fd4ed350aab |
||||||
|
type=ethernet |
||||||
|
autoconnect-priority=999 |
||||||
|
interface-name={{ net_interface }} |
||||||
|
|
||||||
|
[ipv4] |
||||||
|
addresses={{ net_ip }}/24 |
||||||
|
gateway={{ net_gateway }} |
||||||
|
dns={{ net_dns }} |
||||||
|
dns-search=localhost |
||||||
|
method=manual |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Allow wheel to sudo without password. |
- name: Allow wheel to sudo without password. |
||||||
copy: |
copy: |
||||||
dest: /etc/sudoers.d/00-tmp-sudo-full-access |
dest: /etc/sudoers.d/00-tmp-sudo-full-access |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Install lightdm. |
- name: Install lightdm. |
||||||
pacman: |
pacman: |
||||||
name: |
name: |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Include display manager strategy. |
- name: Include display manager strategy. |
||||||
include_role: |
include_role: |
||||||
name: "display_manager/{{ display_manager }}" |
name: "display_manager/{{ display_manager }}" |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Include display server xorg. |
- name: Include display server xorg. |
||||||
include_role: |
include_role: |
||||||
name: "display_server/xorg" |
name: "display_server/xorg" |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Install packages. |
- name: Install packages. |
||||||
aur: |
aur: |
||||||
name: |
name: |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Install docker. |
- name: Install docker. |
||||||
become: true |
become: true |
||||||
become_user: "{{ user_name }}" |
become_user: "{{ user_name }}" |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Update /etc/hostname. |
- name: Update /etc/hostname. |
||||||
copy: |
copy: |
||||||
dest: /etc/hostname |
dest: /etc/hostname |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Install rust. |
- name: Install rust. |
||||||
pacman: |
pacman: |
||||||
name: rustup |
name: rustup |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Install i3. |
- name: Install i3. |
||||||
pacman: |
pacman: |
||||||
name: |
name: |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Include window manager strategy. |
- name: Include window manager strategy. |
||||||
include_role: |
include_role: |
||||||
name: "window_manager/{{ window_manager }}" |
name: "window_manager/{{ window_manager }}" |
@ -1,3 +1,4 @@ |
|||||||
|
--- |
||||||
- name: Install packages. |
- name: Install packages. |
||||||
become: true |
become: true |
||||||
become_user: "{{ user_name }}" |
become_user: "{{ user_name }}" |
Loading…
Reference in new issue