This is definition for left module over a ring $R$ given in Wikipedia:
Suppose that $R$ is a ring and $1_R$ is its multiplicative identity. A left $R$-module $M$ consists of an abelian group $(M, +)$ and an operation $\cdot\;: R \times M \to M$ such that for all $r, s \in R$ and $x, y \in M$, we have:
$r \cdot ( x + y ) = r \cdot x + r \cdot y$
$( r + s ) \cdot x = r \cdot x + s \cdot x $
$ ( r s ) \cdot x = r \cdot ( s \cdot x )$
$1_R \cdot x = x $
But then it necessary that the ring $R$ should be a ring with unity. Then why it is not mentioned in definition ?
Some authors use the term "ring" to mean "ring with identity." This is neither standard nor nonstandard; there is just no consensus. Authors using this definition would use the term "rng" to denote a ring that possibly does not have an identity.