Skip to content

Releases: mihsta/ansible_lab

Task03.2 complete

14 Oct 17:03
Compare
Choose a tag to compare

The task03.2 description:

- Write a role that installs and enables FTP (vsftpd package), opens the necessary ports. 
- Define the required ftp server configuration parameters and use them in the template for the vsftpd.conf configuration file:
- allowed anonymous access to the / var / ftp / pub folder and upload files in the / var / ftp / pub / upload folder;
- the required permission and the corresponding SELinux are configured: "ftpd_anon_write" boolean value "on" (edited).

how to use:

bash play.sh

sudo yum -y ftp
ftp node1
anonymous
password
cd pub
get README

sestatus -v -b

Task03.1 complete

13 Oct 14:08
Compare
Choose a tag to compare

The task03.1 description:

  • Make a role for the Apache installation using the playbook from task01.
    The requirements are the same:
  • installation of the httpd package;
  • enabling the web server service and checking its operation;
  • creating a file /var/www/html/index.html;
  • opening the firewall ports required for the web server to work.
    There should be use of variables (including facts), handlers, templates, etc.

Task02 complete

12 Oct 15:58
Compare
Choose a tag to compare

The task02 description:

Write a playbook that creates users Alice, Bob, Carol.

For each user, you must specify:

  • name;
  • email address in the comment ([email protected]);
  • home folder;
  • encrypted password.

The password must be an encrypted variable or from a separate encrypted file of your choice. Only encrypt the password, you don't need to encrypt anything else.
You do not need to change the password for the already created accounts.

how to use:

bash play.sh

Full Changelog: task01...task02

Task01 complete

01 Sep 18:55
Compare
Choose a tag to compare

Task 01

  • 1. Install httpd
  • 2. Uninstall httpd
  • 3. Edit grub default params