Remove unneeded non-mastodon steps. #5
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: packetcat/mastible#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "question-beginning"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is more of a questioning PR - I wasn't sure that the playbook should be performing these steps at the start; I have already set up my server with a locale/timezone that I want, and nothing in the installation says it has to be UTC (might have missed something!). I also didn't see why aptitude etc was being installed. But happy to keep these on my fork if there's a reason for this.
@ -16,2 +4,2 @@
notify:
- restart rsyslog
- name: Install required ansible things
shell: apt-get update && apt-get -y install python-apt apt-transport-https git sudo
This bit I think is worth leaving in to prevent a situation where the needed dependencies for the Ansible apt module are missing.
Should be python-apt and python3-apt at this point, aptitude can be safely removed.
https://docs.ansible.com/ansible/latest/modules/apt_module.html
@ -16,2 +4,2 @@
notify:
- restart rsyslog
- name: Install required ansible things
shell: apt-get update && apt-get -y install python-apt apt-transport-https git sudo
Ah, good point. I think you only need python-apt, as the system packages all use python2 (the ansible PPA too) and the installation guide note on https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html says "By default, Ansible uses the python interpreter located at /usr/bin/python to run its modules." I'll also add git and sudo as well. Done.
Looks good to me, thanks. Merging.