| | |
| | | -------------- |
| | | |
| | | You need to create a data structure called "oizone". The mandatory minimum is shown here: |
| | | `` |
| | | ``` |
| | | oizone: |
| | | name: samplezone # name of the zone |
| | | zoneroot: /export/zones/ # basedir for zoneroot |
| | |
| | | hashedpassword: "$5$..." # hashed password |
| | | authorized_key: "ssh-rsa ..." # ssh public key to be added to authorized_keys |
| | | |
| | | `` |
| | | ``` |
| | | |
| | | A set of all possible attributes is here: |
| | | |
| | | `` |
| | | ``` |
| | | oizone: |
| | | name: oizone |
| | | updateinventory: true |
| | |
| | | gecos: "Local Admin Account" |
| | | home: /export/home/localadm |
| | | hashedpassword: "$5$barfoo...." |
| | | `` |
| | | ``` |
| | | |
| | | Dependencies |
| | | ------------ |
| | |
| | | ---------------- |
| | | |
| | | Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: |
| | | |
| | | ``` |
| | | - hosts: servers |
| | | vars: |
| | | - oizone: |
| | | [... see above ..] |
| | | roles: |
| | | - role: oi-zone |
| | | ``` |
| | | |
| | | License |
| | | ------- |