kouji-kojima-ansible.el7-desktop
Role for Installing xrdp on EC2 CentOS7, RHEL7 (Setting Up EL7 Desktop)
Install Role
ansible-galaxy install kouji-kojima-ansible.el7-desktop --force
Dependencies
- kouji-kojima-ansible.el7-init
Process Details
- Enable EPEL
- Install Server with GUI group
- Install xrdp
- Start xrdp
Example site.yml
cat << EOF > site.yml
- hosts: servers
remote_user: ec2-user
become: yes
vars:
proxy_host: proxy.xxxxxxxxx.co.jp
proxy_port: port_no
no_proxys: xxxxx.co.jp,yyyy.co.jp
ca_url: https://xxxxxxxx.co.jp/xxx.ca(*1)
ca_sha256: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
roles:
- { role: kouji-kojima-ansible.el7-desktop }
EOF
Example Hosts
# For localhost
cat << EOF > localhost
[servers]
localhost ansible_connection=local
EOF
# For staging environment
cat << EOF > staging
[servers]
HostName or IP
HostName or IP
[all:vars]
ansible_ssh_user=ec2-user
EOF
Execute Playbook
Example of Running
# For localhost
ansible-playbook -i localhost site.yml --private-key=/path/key.pem
# For staging environment
ansible-playbook -i staging site.yml --private-key=/path/key.pem
License
Author Information
Kouji Kojima
Installa
ansible-galaxy install kouji-kojima-ansible.el7-desktop
Licenza
apache-2.0
Download
82
Proprietario