Commit d399fd85 authored by Bengt Giger's avatar Bengt Giger
Browse files

Fixed role names in converge playbooks

parent 85e690ce
...@@ -4,8 +4,36 @@ ...@@ -4,8 +4,36 @@
Collection of configurations specific for ETH Zurich: Collection of configurations specific for ETH Zurich:
- private_subnet_client: set HTTP proxy for OS and Docker service - `private_subnet_client`: set HTTP proxy for OS and Docker service
- console_configuration: configure system console for Swiss keyboards (and others) - `console_configuration`: configure system console for Swiss keyboards (and others)
- timeservice: timezone, `chrony` and `ntp` settings for Zurich - `timeservice`: timezone, `chrony` and `ntp` settings for Zurich
- system_update_manager: Install OS updates, reboot system if necessary - `system_update_manager`: Install OS updates, reboot system if necessary
\ No newline at end of file
# Installation
## Ansible 2.10 and later
Create a `requirements.yml' and add this git repository:
```
---
roles:
- src: marcelnijenhof.firewalld
collections:
- name: git+https://gitlab.ethz.ch/ansible-community/collections/system_configuration,1.0.0
```
Install with
```
ansible-galaxy collection install -r requirements.yml
```
## Usage
Refer to the complete namespaced name, i. e.
```
- name: Set timezone and time servers
include_role: ethz.system_configuration.timeservice
```
...@@ -16,12 +16,12 @@ readme: README.md ...@@ -16,12 +16,12 @@ readme: README.md
# A list of the collection's content authors. Can be just the name or in the format 'Full Name <email> (url) # A list of the collection's content authors. Can be just the name or in the format 'Full Name <email> (url)
# @nicks:irc/im.site#channel' # @nicks:irc/im.site#channel'
authors: authors:
- your name <example@domain.com> - bgiger
### OPTIONAL but strongly recommended ### OPTIONAL but strongly recommended
# A short summary description of the collection # A short summary description of the collection
description: your collection description description: System configuration specific for ETH Zurich
# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only # Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only
# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file' # accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file'
...@@ -43,16 +43,16 @@ tags: [] ...@@ -43,16 +43,16 @@ tags: []
dependencies: {} dependencies: {}
# The URL of the originating SCM repository # The URL of the originating SCM repository
repository: http://example.com/repository repository: https://gitlab.ethz.ch/ansible-community/collections/system_configuration
# The URL to any online docs # The URL to any online docs
documentation: http://docs.example.com documentation: https://gitlab.ethz.ch/ansible-community/collections/system_configuration
# The URL to the homepage of the collection/project # The URL to the homepage of the collection/project
homepage: http://example.com homepage: https://gitlab.ethz.ch/ansible-community/collections/system_configuration
# The URL to the collection issue tracker # The URL to the collection issue tracker
issues: http://example.com/issue/tracker issues: https://gitlab.ethz.ch/ansible-community/collections/system_configuration/-/issues
# A list of file glob-like patterns used to filter any files or directories that should not be included in the build # A list of file glob-like patterns used to filter any files or directories that should not be included in the build
# artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This # artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This
......
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
vars: vars:
system_update_manager_excluded: ['nano'] system_update_manager_excluded: ['nano']
tasks: tasks:
- name: "Include system-update-manager" - name: "Include system_update_manager"
include_role: include_role:
name: "system-update-manager" name: "system_update_manager"
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
vars: vars:
system_update_manager_excluded: ['nano', 'sudo'] system_update_manager_excluded: ['nano', 'sudo']
tasks: tasks:
- name: "Include system-update-manager" - name: "Include system_update_manager"
include_role: include_role:
name: "system-update-manager" name: "system_update_manager"
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
vars: vars:
system_update_manager_excluded: [] system_update_manager_excluded: []
tasks: tasks:
- name: "Include system-update-manager" - name: "Include system_update_manager"
include_role: include_role:
name: "system-update-manager" name: "system_update_manager"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment