Commit ebefcf2c authored by julian.gethmann's avatar julian.gethmann

Update README.md

Fix setup introduction
parent b0f5575d
......@@ -8,19 +8,25 @@ Add your hostname under each role name (the name in the square brackets) you wan
Also create a new file which is named
after your [fully-qualified-domain-name](https://de.wikipedia.org/wiki/Domain_(Internet)#Fully_Qualified_Domain_Name_.28FQDN.29}) (FQDN) in the `host_vars` directory including a [yaml](https://docs.ansible.com/ansible/YAMLSyntax.html) list with some host specific configuration variables, e. g. copy another similar host and adjust it.
These files do not have the `.yml` extension and do not start with `---`
Then create a file named after your FQDN with the extension ".yml" in the main directory of ansible which contains includes all the roles one want to run. This step needs root priviledges and therefore makes only sense for the first installation of a computer.
* install ansible and some dependencies:
```
Then create a file named after your FQDN with the extension ``.yml`` in the main directory of ansible which contains includes all the roles one want to run. This step needs root priviledges and therefore makes only sense for the first installation of a computer.
Install ansible and some dependencies:
```
dnf install ansible git python2-dnf libselinux-python
```
* run [ansible-pull](https://docs.ansible.com/ansible/playbooks_intro.html#ansible-pull):
```
ansible-pull -K -U git@git.scc.kit.edu:las/ansible.git playbook_name.yml
Run
``` bash
git clone clone git@git.scc.kit.edu:las/ansible.git
cd ansible
ansible-playbook --ask-become-pass --limit $(hostname -f) site.yml
```
* If you only want some parts of the roles to be run, you can use the option `-t TAGNAME` to run only those tasks with the given tag.
### Ask for new software
Open an issue in the GitLab issue tracker with the label: softwarerequest
Open an issue in the GitLab issue tracker and use the template for softwarerequests.
## How to get new software on your computer
## Available roles
......
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