Where is the X.org config file? How do I configure X there?

1
...
0 0
2
...
0 0
3

Here are some commonly-asked questions and their answers.

How can I set the PATH or any other environment variable for a task or entire playbook?¶

Setting environment variables can be done with the environment keyword. It can be used at task or play level:

environment: PATH: "{{ ansible_env.PATH }}:/thingy/bin" SOME: value

Note

starting in 2.0.1 the setup task from gather_facts also inherits the environment directive from the play, you might need to use the |default filter to avoid errors if setting this at play level.

How do I handle different machines needing different user accounts or ports to log in with?¶

Setting inventory variables in the inventory file is the easiest way.

Note

Ansible 2.0 has deprecated the “ssh” from ansible_ssh_user, ansible_ssh_host, and ansible_ssh_port to become ansible_user, ansible_host, and ansible_port. If you are using a version of Ansible prior to 2.0, you should continue using the...

0 0
4

If you are using a vendor-supplied Xorg (like on a Linux distribution) please follow your vendor's instruction on how to install and configure Xorg. Your vendor may have provided proprietary configuration tools. Please consult your vendor's documentation/support for information on how to use these tools:

Configuring Xorg

Xorg provides two ways to configure the Xserver:

Autoconfiguration - Xorg probes the hardware, and if built with HAL support (default in Xorg 1.4 and later) asks HAL to provide input device configuration. Xorg -configure - which can create a skeleton configuration file which should get you started if you need to change a configuration option from the autoconfigured default.

Xorg -configure

The Xserver is capable of creating its own configuration file. As root just run: X -configure. The Xserver will then load each driver module, probe for the driver and create a configuration file. The configuration file will be stored in the...

0 0