<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.twig.es/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Add_webserver_and_configure</id>
		<title>Add webserver and configure - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Add_webserver_and_configure"/>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Add_webserver_and_configure&amp;action=history"/>
		<updated>2026-05-06T16:42:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.0</generator>

	<entry>
		<id>https://wiki.twig.es/index.php?title=Add_webserver_and_configure&amp;diff=3721&amp;oldid=prev</id>
		<title>George2 at 11:23, 27 July 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Add_webserver_and_configure&amp;diff=3721&amp;oldid=prev"/>
				<updated>2017-07-27T11:23:47Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:23, 27 July 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ref : https://www.digitalocean.com/community/tutorials/configuration-management-101-writing-ansible-playbooks&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;---&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;---&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>George2</name></author>	</entry>

	<entry>
		<id>https://wiki.twig.es/index.php?title=Add_webserver_and_configure&amp;diff=3719&amp;oldid=prev</id>
		<title>George2: Created page with &quot;&lt;source lang=&quot;text&quot;&gt; --- - hosts: all   become: true   vars:     doc_root: /var/www/example   tasks:     - name: Update apt       apt: update_cache=yes      - name: Install Ap...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Add_webserver_and_configure&amp;diff=3719&amp;oldid=prev"/>
				<updated>2017-07-27T09:14:58Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt; --- - hosts: all   become: true   vars:     doc_root: /var/www/example   tasks:     - name: Update apt       apt: update_cache=yes      - name: Install Ap...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
- hosts: all&lt;br /&gt;
  become: true&lt;br /&gt;
  vars:&lt;br /&gt;
    doc_root: /var/www/example&lt;br /&gt;
  tasks:&lt;br /&gt;
    - name: Update apt&lt;br /&gt;
      apt: update_cache=yes&lt;br /&gt;
&lt;br /&gt;
    - name: Install Apache&lt;br /&gt;
      apt: name=apache2 state=latest&lt;br /&gt;
&lt;br /&gt;
    - name: Create custom document root&lt;br /&gt;
      file: path={{ doc_root }} state=directory owner=www-data group=www-data&lt;br /&gt;
&lt;br /&gt;
    - name: Set up HTML file&lt;br /&gt;
      copy: src=index.html dest={{ doc_root }}/index.html owner=www-data group=www-data mode=0644&lt;br /&gt;
&lt;br /&gt;
    - name: Set up Apache virtual host file&lt;br /&gt;
      template: src=vhost.tpl dest=/etc/apache2/sites-available/000-default.conf&lt;br /&gt;
      notify: restart apache&lt;br /&gt;
  handlers:&lt;br /&gt;
    - name: restart apache&lt;br /&gt;
      service: name=apache2 state=restarted&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>George2</name></author>	</entry>

	</feed>