Implementing an installation guide as a ansible project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-shopware/tasks/essential.yml

32 lines
796 B

- name: Update packages
apt:
update_cache: yes
upgrade: yes
- name: Install essentials
package:
name:
- nano
- curl
- telnet
- wget
- htop
- sshguard
state: latest
# maybe disable passwordless sudo later
- name: Enable passwordless sudo for "{{username}}"
lineinfile:
dest: /etc/sudoers
regexp: "^%wheel"
line: "{{username}} ALL=(ALL) NOPASSWD: ALL"
validate: "/usr/sbin/visudo -cf %s"
- name: Install aptitute
apt: name=aptitude state=latest update_cache=yes force_apt_get=yes
- name: Install required system packages
apt: name={{ item }} state=latest update_cache=yes
loop: [ 'apt-transport-https', 'ca-certificates', 'curl', 'software-properties-common', 'python3-pip', 'virtualenv', 'python3-setuptools']