1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove git:// urls from docsite and from packaging (#30459)

It's almost always preferable to clone by way of https:// rather than
using the bare git:// protocol. Not only does https:// provide
stronger guarantees it also plays nicer with corporate proxies, etc.
This commit is contained in:
Andreas Olsson 2017-10-03 21:16:25 +02:00 committed by Toshio Kuratomi
parent 2d70dc7f21
commit ba0b91b51b
4 changed files with 7 additions and 7 deletions

View file

@ -193,7 +193,7 @@ Deploying From Source Control
Deploy your webapp straight from git::
$ ansible webservers -m git -a "repo=git://foo.example.org/repo.git dest=/srv/myapp version=HEAD"
$ ansible webservers -m git -a "repo=https://foo.example.org/repo.git dest=/srv/myapp version=HEAD"
Since Ansible modules can notify change handlers it is possible to
tell Ansible to run specific tasks when the code is updated, such as

View file

@ -124,7 +124,7 @@ You can also build an RPM yourself. From the root of a checkout or tarball, use
.. code-block:: bash
$ git clone git://github.com/ansible/ansible.git
$ git clone https://github.com/ansible/ansible.git
$ cd ./ansible
$ make rpm
$ sudo rpm -Uvh ./rpm-build/ansible-*.noarch.rpm
@ -263,7 +263,7 @@ Then install Ansible with [1]_::
Or if you are looking for the latest development version::
pip install git+git://github.com/ansible/ansible.git@devel
pip install git+https://github.com/ansible/ansible.git@devel
If you are installing on OS X Mavericks, you may encounter some noise from your compiler. A workaround is to do the following::
@ -305,7 +305,7 @@ To install from source, clone the Ansible git repository:
.. code-block:: bash
$ git clone git://github.com/ansible/ansible.git --recursive
$ git clone https://github.com/ansible/ansible.git --recursive
$ cd ./ansible
Once git has cloned the Ansible repository, setup the Ansible environment:

View file

@ -24,7 +24,7 @@ optdepends=('python2-pyasn1: needed for accelerated mode'
conflicts=('ansible')
provides=('ansible')
backup=('etc/ansible/ansible.cfg')
source=($pkgname::git://github.com/ansible/ansible.git)
source=($pkgname::git+https://github.com/ansible/ansible.git)
md5sums=('SKIP')
pkgver() {

View file

@ -7,7 +7,7 @@ __Note__: You must run this target as root or set `PBUILDER_BIN='sudo pbuilder'`
```
apt-get install asciidoc cdbs debootstrap devscripts make pbuilder python-setuptools
git clone git://github.com/ansible/ansible.git
git clone https://github.com/ansible/ansible.git
cd ansible
git submodule update --init
DEB_DIST='xenial trusty precise' make deb
@ -16,7 +16,7 @@ DEB_DIST='xenial trusty precise' make deb
Building in Docker:
```
git clone git://github.com/ansible/ansible.git
git clone https://github.com/ansible/ansible.git
cd ansible
git submodule update --init
docker build -t ansible-deb-builder -f packaging/debian/Dockerfile .