Removed broken setup ubuntu playbook
This commit is contained in:
1 parent
97d6892c83
commit
f5d43d744d
2 files changed
+1
-34
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# DO Community - Ansible Playbooks
|
||||
# Ansible Playbooks
|
||||
|
||||
A collection of minimalist Ansible playbooks for automating server setups, based on DigitalOcean's Community guides.
|
||||
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
#################################################
|
||||
# DO Community Playbooks: Initial Server Setup
|
||||
#################################################
|
||||
---
|
||||
- hosts: all
|
||||
become: true
|
||||
vars_files:
|
||||
- vars/default.yml
|
||||
|
||||
tasks:
|
||||
|
||||
# Sudo Group Setup
|
||||
- name: Make sure we have a 'wheel' group
|
||||
group:
|
||||
name: wheel
|
||||
state: present
|
||||
|
||||
- name: Allow 'wheel' group to have passwordless sudo
|
||||
lineinfile:
|
||||
path: /etc/sudoers
|
||||
state: present
|
||||
regexp: '^%wheel'
|
||||
line: '%wheel ALL=(ALL) NOPASSWD: ALL'
|
||||
validate: '/usr/sbin/visudo -cf %s'
|
||||
|
||||
|
||||
# Install Packages
|
||||
- name: Update apt
|
||||
apt: update_cache=yes
|
||||
|
||||
- name: Install required system packages
|
||||
apt: name={{ sys_packages }} state=latest
|
||||
|
||||
Reference in new issue
Block a user