https://github.com/cdhai/ansible
Linux system administration automation
https://github.com/cdhai/ansible
administration ansible ansible-playbook ansible-roles linux
Last synced: 11 months ago
JSON representation
Linux system administration automation
- Host: GitHub
- URL: https://github.com/cdhai/ansible
- Owner: CDHai
- Created: 2023-01-09T07:49:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-24T08:08:58.000Z (over 3 years ago)
- Last Synced: 2024-11-22T18:59:00.703Z (over 1 year ago)
- Topics: administration, ansible, ansible-playbook, ansible-roles, linux
- Language: Jinja
- Homepage:
- Size: 3.36 MB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Lab Review
## Lab 6
### 6.1, Requirements
Write Roles Ansible:
- Create user.
- Disable SSH Password log in.
- Grant `sudo` permission for user.
- Add Authorized Key for user ssh by `ssh-key`.
### 6.2, Labbing
* Source: Clone above.
* Result:

* Checking:
##### 1. Creat User



##### 2. Disable SSH


##### 3. Grant `sudo` permission for user



##### 4. Add Authorized Key



## Lab 7
### 7.1, Requirements
Write Roles Ansible:
- Install **DHCP Server** (Both `Ubuntu` & `CentOS`).
- Config **DNS** for domains:
+ test1.com - 1.2.3.4
+ test2.com - 1.2.3.4
### 7.2, Labbing
* Source: Clone above.
* Result:

* Checking:
##### 1. Install **DHCP Server** (Both `Ubuntu` & `CentOS`)


##### 2. Config **DNS** for domains:
* **Ubuntu**:

* **CentOS**:
