-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from cisagov/improvement/split-xfce-into-separa…
…te-role Split the Xfce foo into a separate role
- Loading branch information
Showing
9 changed files
with
23 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,11 +21,12 @@ | |
paths: | ||
- "vars" | ||
|
||
- name: Install Xfce desktop environment and TigerVNC server | ||
- name: Install TigerVNC server | ||
package: | ||
name: | ||
"{{ package_names }}" | ||
|
||
# Does this go here? Can this be generalized? | ||
- name: Disable screen locking | ||
file: | ||
path: /etc/xdg/autostart/light-locker.desktop | ||
|
@@ -54,14 +55,6 @@ | |
group: "{{ username }}" | ||
mode: 0600 | ||
|
||
- name: Deploy xstartup configuration file for VNC user | ||
copy: | ||
src: xstartup | ||
dest: /home/{{ username }}/.vnc/ | ||
owner: "{{ username }}" | ||
group: "{{ username }}" | ||
mode: 0744 | ||
|
||
- name: Set up VNC as a systemd service | ||
template: | ||
src: [email protected] | ||
|
@@ -74,10 +67,9 @@ | |
when: | ||
- ansible_service_mgr == "systemd" | ||
|
||
- name: Start VNC systemd service and enable it to start on boot | ||
- name: Enable VNC systemd service | ||
systemd: | ||
name: "[email protected]" | ||
state: started | ||
enabled: true | ||
when: | ||
- ansible_service_mgr == "systemd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
# vars file for Amazon Linux | ||
|
||
# The TigerVNC package names | ||
package_names: | ||
- tigervnc-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
--- | ||
# vars file for Debian | ||
|
||
# The Xfce and TigerVNC package names | ||
# The TigerVNC package names | ||
package_names: | ||
- xfce4 | ||
- xfce4-goodies | ||
- tigervnc-standalone-server | ||
- tigervnc-common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
--- | ||
# vars file for RedHat | ||
|
||
# The Xfce and TigerVNC package names | ||
# The TigerVNC package names | ||
package_names: | ||
- '@xfce-desktop-environment' | ||
- tigervnc-server |