Skip to content

Commit 86589f9

Browse files
authored
Merge pull request #28 from Diesel-Net/development
Major overhaul
2 parents 7b3dc80 + ccf8fea commit 86589f9

16 files changed

+63
-133
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# ansible-role-ubuntu
2-
Configuring fresh Ubuntu LTS Virtual Machines
2+
Configuring fresh Ubuntu Virtual Machines

β€Ždefaults/main.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ apt_packages:
3030
- curl
3131
- dnsutils
3232
- ca-certificates
33-
- mongodb-clients
3433
- nfs-common
34+
- iperf3
3535

3636
nvidia_driver_version: 470
3737
nvidia_apt_packages:

β€Žmeta/main.yamlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
galaxy_info:
22
author: Tom Daley
3-
description: Configuring a freshly checked out Ubuntu VM from Verde
3+
description: Configuring fresh Ubuntu Virtual Machines
44

5-
min_ansible_version: 2.10
5+
min_ansible_version: 2.11
66
platforms:
77
- name: Ubuntu
88
versions:

β€Žtasks/apply_netplan.yamlβ€Ž

Lines changed: 0 additions & 21 deletions
This file was deleted.

β€Žtasks/configure.yamlβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- include_tasks: configure_user.yaml
2+
- include_tasks: configure_host.yaml

β€Žtasks/configure_host.yamlβ€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
- name: Set the correct timezone
2+
shell: timedatectl set-timezone {{ timezone }}
3+
become: yes
4+
5+
- name: Remove password expiry for root user
6+
shell: chage -I -1 -m 0 -M 99999 -E -1 root
7+
become: yes
8+
9+
- include_tasks: configure_apt_proxy.yaml
10+
- include_tasks: install_apt_packages.yaml
11+
- include_tasks: install_ca_certs.yaml

β€Žtasks/configure_hostname.yamlβ€Ž

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
- name: "Configure Bash"
1414
user:
15-
name: automation
15+
name: '{{ automation_user }}'
1616
shell: /bin/bash
1717
become: yes
1818

β€Žtasks/disable_cloud_init.yamlβ€Ž

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- name: Install apt packages
2+
apt:
3+
name: "{{ apt_packages }}"
4+
state: present
5+
autoclean: yes
6+
update_cache: yes
7+
become: yes

0 commit comments

Comments
Β (0)