Commit 7d4fa565 authored by julian.gethmann's avatar julian.gethmann

Add update tag to update task so that one can skip it

parent be0f84dd
......@@ -10,12 +10,12 @@ after your [fully-qualified-domain-name](https://de.wikipedia.org/wiki/Domain_(I
These files do not have the `.yml` extension and do not start with `---` as most of the other yaml files do.
Then create a file named after your FQDN with the extension ``.yml`` in the main directory of ansible which includes all the roles one want to run. This step needs root privileges and therefore makes only sense for the first installation of a computer.
Install ansible and some dependencies:
Install ansible and some dependencies:
```
dnf install ansible git python3-dnf libselinux-python python3-netaddr
```
Run
Run
``` bash
git clone git@git.scc.kit.edu:las-it-organisation/32-0-IT-InstructionsAndRules/ansible.git
......@@ -34,9 +34,9 @@ There might be a tmux running for that purpose anyway.
### Ask for new software
Open an issue in the GitLab issue tracker and use the template for softwarerequests.
If the software is in the Fedora repositories and you think it makes sense to
install this software only on your computer, you can also provide a merge/pull
requst by adding the software name to the list of `extra_software` in the
If the software is in the Fedora repositories and you think it makes sense to
install this software only on your computer, you can also provide a merge/pull
requst by adding the software name to the list of `extra_software` in the
`host_vars` file for your computer.
## How to get new software on your computer
......@@ -88,7 +88,7 @@ If you just want to install one or many packages you can use `kdev.yml` as a bas
Be aware that the development branches here are not save and the owner might force push to them!
# Run as admin
# Run as admin
## Bootstraping
* Enable SSH on the new host (`lasXXX$ sudo systemctl start sshd && sudo systemctl enable sshd`)
* Add your SSH-key to the host `obelix# ssh-copy-id lasXXX.las.kit.edu`
......@@ -120,3 +120,7 @@ and provide the root password for the new host.
## Decommission/Uninstall a host
* edit the ``add_ipa_host.yml`` and uncomment the uninstall step in it.
# Nice to know / Random tips
Sometimes it's annoying to wait for all the updates that are installed when running the common role. To skip this step you can add the option `--skip-tags="update"`.
......@@ -6,6 +6,7 @@
when: "'laptop' not in group_names"
- import_tasks: sudoer.yml
- import_tasks: sysupdate.yml
tags: update
- import_tasks: ntp.yml
- import_tasks: software.yml
- import_tasks: smartd.yml
......
Markdown is supported
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