Files
@ c8d4251a6ea5
Branch filter:
Location: majic-ansible-roles/roles/bootstrap/tasks/main.yml - annotation
c8d4251a6ea5
849 B
text/x-yaml
MAR-131: Added support for specifying Python version in wsgi_website role:
- Introduced additional role parameter for specifying the Python
version.
- Updated tests to verify new functionality.
- Fixed existing tests to account for differences between Python 2 and
Python 3 - including changes to WSGI test applications.
- Updated documentation, documenting new parameter and fixing one
minor typo.
- Updated release notes.
- Bumped default version of Gunicorn/futures used.
- Introduced additional role parameter for specifying the Python
version.
- Updated tests to verify new functionality.
- Fixed existing tests to account for differences between Python 2 and
Python 3 - including changes to WSGI test applications.
- Updated documentation, documenting new parameter and fixing one
minor typo.
- Updated release notes.
- Bumped default version of Gunicorn/futures used.
626eadba53b7 626eadba53b7 626eadba53b7 e4a0f78340ef e4a0f78340ef 48a901602e77 626eadba53b7 626eadba53b7 e4a0f78340ef e4a0f78340ef 48a901602e77 626eadba53b7 626eadba53b7 e4a0f78340ef e4a0f78340ef 48a901602e77 e4a0f78340ef e4a0f78340ef 626eadba53b7 626eadba53b7 e4a0f78340ef e4a0f78340ef e4a0f78340ef 626eadba53b7 626eadba53b7 e4a0f78340ef e4a0f78340ef e4a0f78340ef e4a0f78340ef e4a0f78340ef e4a0f78340ef 61ddc6eab566 61ddc6eab566 e4a0f78340ef e4a0f78340ef e4a0f78340ef e4a0f78340ef 7387caca37f3 7387caca37f3 7387caca37f3 10d5a1e15c30 7387caca37f3 0388df2571ca | ---
- name: Install sudo
apt:
name: sudo
state: present
- name: Set-up the Ansible group
group:
name: ansible
system: true
- name: Set-up the Ansible user
user:
name: ansible
system: true
group: ansible
shell: /bin/bash
- name: Set-up authorized key for the Ansible user
authorized_key:
user: ansible
key: "{{ ansible_key }}"
- name: Set-up password-less sudo for the ansible user
copy:
src: "ansible_sudo"
dest: "/etc/sudoers.d/ansible"
mode: 0640
owner: root
group: root
- name: Revoke rights for Ansible user to log-in as root to server via ssh
authorized_key:
user: root
key: "{{ ansible_key }}"
state: absent
- name: Explicitly run all handlers
include: ../handlers/main.yml
when: "handlers | default(False) | bool() == True"
tags:
- handlers
|