Skip to content
Snippets Groups Projects
Commit 4c993e69 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

doc: add documentation to clarify context

parent aa6d3065
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,13 @@ To deploy this role to a managed host, the following software must be installed ...@@ -13,7 +13,13 @@ To deploy this role to a managed host, the following software must be installed
* Python3 * Python3
* SSHd * SSHd
## General usage ## Quick start
```
ansible-playbook site.yml -i <INVENTORY_FILE> --limit <HOSTNAME>
```
## General Ansible usage
Most options already have sensible defaults in `ansible.cfg`. However, you can override these defaults using CLI options/flags if you want to. Most options already have sensible defaults in `ansible.cfg`. However, you can override these defaults using CLI options/flags if you want to.
......
--- ---
# Systems have to be subscribed with RedHat in order to be able to use software
# repositories, install software and receive updates/support.
- name: subscribe system with RedHat - name: subscribe system with RedHat
redhat_subscription: redhat_subscription:
state: present state: present
username: "{{ vault_rhel_username }}" username: "{{ vault_rhel_username }}"
password: "{{ vault_rhel_password }}" password: "{{ vault_rhel_password }}"
auto_attach: true auto_attach: true
- name: activate RHEL repos - name: activate RHEL repos
rhsm_repository: rhsm_repository:
name: "{{ item }}" name: "{{ item }}"
...@@ -15,6 +16,9 @@ ...@@ -15,6 +16,9 @@
- "rhel-7-server-rh-common-rpms" - "rhel-7-server-rh-common-rpms"
- "rhel-7-server-extras-rpms" - "rhel-7-server-extras-rpms"
# Additional software is made available through the EPEL (Extra Packages for
# Enterprise Linux) repository, which is managed by the Fedora Special Interest
# Group of the same name.
- name: activate EPEL repos - name: activate EPEL repos
yum: yum:
name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
dest: "/tmp/" dest: "/tmp/"
checksum: "{{ tsm_checksum | default(tsm_default_checksum) }}" checksum: "{{ tsm_checksum | default(tsm_default_checksum) }}"
- name: create extraction dir - name: create temporary extraction dir
file: file:
path: "/tmp/tsm/" path: "/tmp/tsm/"
state: directory state: directory
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
] ]
become: true become: true
- name: manage service - name: make sure IBM Spectrum Protect backup service is active and running
systemd: systemd:
name: "dsmcad.service" name: "dsmcad.service"
enabled: true enabled: true
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
- "users.vault" - "users.vault"
tags: [always] tags: [always]
- name: prepare skel - name: prepare default skel configuration for new users
import_tasks: configure_skel.yml import_tasks: configure_skel.yml
tags: [skel] tags: [skel]
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
import_tasks: configure_ssh_client.yml import_tasks: configure_ssh_client.yml
tags: [ssh] tags: [ssh]
- name: activate repos - name: activate software repositories
import_tasks: configure_repos.yml import_tasks: configure_repos.yml
tags: [repos] tags: [repos]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment